<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta http-equiv="X-UA-Compatible" content="ie=edge" />
    <title>Document</title>
    <style>
      html,
      body {
        height: 100%;
        margin: 0;
      }

      .item {
        width: 150px;
        height: 40px;
        background-color: antiquewhite;
        border: 1px solid #de5e60;
      }
      .el-block{
        display: block;
      }
      .el-inline-block{
        display: inline-block;
      }
      .el-inline{
        display: inline;
      }
      .lg {
        height: 60px;
      }
      .left {
        float: left;
      }
      .right {
        float: right;
      }
      .container {
        width: 50%;
        border: 1px solid #de5e60;
        overflow: hidden;
      }
    </style>
  </head>

  <body>
    <div class="container">
      <!-- <div class="item right">左浮动-1</div> -->
      <div class="item left">左浮动-2</div>
      <span>222</span>
    </div>
    <!-- <div class="container">
      <div class="item left">左浮动-1</div>
      <div class="item left">左浮动-2</div>
    </div> -->
  </body>
</html>
